package bo

import (
	"encoding/json"
	"time"
)

type Feed struct {
	VideoId int `json:"videoId"`
	CreateTime time.Time `json:"create_time"`
}

func (f Feed) MarshalBinary() ([]byte, error) {
	return json.Marshal(f)
}

func (f Feed) UnmarshalBinary(data []byte) error{
	return json.Unmarshal(data, &f)
}
